<span class="help-block" *ngIf="checkedValue && (formModel.submitted || fieldModel.dirty)">
    <small class="text-warning" *ngIf="checkedValue">用户已存在,请重新输入新的登录名。</small>
</span>
<span class="help-block" *ngIf="fieldModel.invalid && (formModel.submitted || fieldModel.dirty || fieldModel.touched)">
    <span class="text-danger" *ngIf="fieldModel.errors.required">{{title}}不可为空。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.email">{{title}}不是一个合法的邮箱。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.minlength || fieldModel.errors.minLength">{{title}}至少{{fieldModel.errors.minlength.requiredLength}}字符长度。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.maxlength || fieldModel.errors.maxLength">{{title}}至多{{fieldModel.errors.maxlength.requiredLength}}字符长度。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.min">{{title}}不能低于{{fieldModel.errors.min.min}}。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.max">{{title}}不能高于{{fieldModel.errors.max.max}}。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.valueNotMatch">{{title}}与之前输入不一致。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.forbiddenValue">{{title}}不能包含'{{fieldModel.errors.forbiddenValue.forbiddenValue}}'。</span>
    <span class="text-danger" *ngIf="fieldModel.errors.invalidFormat">{{title}}必须是{{formatDetails}}。</span>
    <!-- <ul>
        <li *ngIf="fieldModel.errors.required">
            <small class="text-danger">{{title}} is required.</small>
        </li>
        <li *ngIf="fieldModel.errors.email">
            <small class="text-danger">{{title}} is not a valid email format.</small>
        </li>
        <li *ngIf="fieldModel.errors.minlength">
            <small class="text-danger">{{title}} must be at least {{fieldModel.errors.minlength.requiredLength}} characters long.</small>
        </li>
        <li *ngIf="fieldModel.errors.min">
            <small class="text-danger">{{title}} must be greater than {{fieldModel.errors.min.min}}.</small>
        </li>
        <li *ngIf="fieldModel.errors.max">
            <small class="text-danger">{{title}} must be less than {{fieldModel.errors.max.max}}.</small>
        </li>
        <li *ngIf="fieldModel.errors.valueNotMatch">
            <small class="text-danger">{{title}} does not match the last input.</small>
        </li>
        <li *ngIf="fieldModel.errors.forbiddenValue">
            <small class="text-danger">{{title}} cannot contain '{{fieldModel.errors.forbiddenValue.forbiddenValue}}'.</small>
        </li>
    </ul> -->
</span>